package com.gzx.plugin.tjzy.modular.call.pre.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import com.gzx.plugin.tjzy.modular.call.pre.entity.GzxPreOutCallDetail;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import vip.xiaonuo.common.sensitive.annotation.Sensitive;
import vip.xiaonuo.common.sensitive.core.SensitiveStrategy;

/**
 * @author zjt
 * @description
 * @date 2024/11/8 15:57
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GzxPreOutCallDetail.class)
public class GzxPreOutCallDetailVo implements TransPojo {

    private String id;

    /**
     * 主叫
     */
    private String caller;

    /**
     * 联系人姓名
     */
    @ExcelProperty("联系人姓名")
    private String liaisonName;

    /**
     * 联系人手机号
     */
    @ExcelProperty("联系人手机号")
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String liaisonPhone;

    /**
     * 任务ID
     */
    private String taskId;

    /**
     * 甲方系统主键
     */
    @ExcelProperty("甲方系统主键")
    private String partnerBusinessId;

    /**
     * 恒天话单ID
     */
    private String htId;

    /**
     * 1客户挂断2坐席挂断
     */
    @Trans(type = TransType.DICTIONARY, key = "HTSignalType")
    private Integer signal;

    /**
     * 客户信息
     */
    @ExcelProperty("自定义客户信息")
    private String customerInfo;

    @ExcelProperty("调解员")
    private String mediatorName;

    /**
     * 客户振铃时间
     */
    private String ringTime;

    /**
     * 通话时长
     */
    private Integer callDuration;

    private String updateTime;
}
